package com.sl.mes.db.vo;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class EwmTeamBExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EwmTeamBExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ewm_team_b
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public EwmTeamBExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ewm_team_b
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public EwmTeamBExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ewm_team_b
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        EwmTeamBExample example = new EwmTeamBExample();
        return example.createCriteria();
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPkTeamBIsNull() {
            addCriterion("pk_team_b is null");
            return (Criteria) this;
        }

        public Criteria andPkTeamBIsNotNull() {
            addCriterion("pk_team_b is not null");
            return (Criteria) this;
        }

        public Criteria andPkTeamBEqualTo(String value) {
            addCriterion("pk_team_b =", value, "pkTeamB");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamBEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team_b = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamBNotEqualTo(String value) {
            addCriterion("pk_team_b <>", value, "pkTeamB");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamBNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team_b <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamBGreaterThan(String value) {
            addCriterion("pk_team_b >", value, "pkTeamB");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamBGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team_b > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamBGreaterThanOrEqualTo(String value) {
            addCriterion("pk_team_b >=", value, "pkTeamB");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamBGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team_b >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamBLessThan(String value) {
            addCriterion("pk_team_b <", value, "pkTeamB");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamBLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team_b < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamBLessThanOrEqualTo(String value) {
            addCriterion("pk_team_b <=", value, "pkTeamB");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamBLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team_b <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamBLike(String value) {
            addCriterion("pk_team_b like", value, "pkTeamB");
            return (Criteria) this;
        }

        public Criteria andPkTeamBNotLike(String value) {
            addCriterion("pk_team_b not like", value, "pkTeamB");
            return (Criteria) this;
        }

        public Criteria andPkTeamBIn(List<String> values) {
            addCriterion("pk_team_b in", values, "pkTeamB");
            return (Criteria) this;
        }

        public Criteria andPkTeamBNotIn(List<String> values) {
            addCriterion("pk_team_b not in", values, "pkTeamB");
            return (Criteria) this;
        }

        public Criteria andPkTeamBBetween(String value1, String value2) {
            addCriterion("pk_team_b between", value1, value2, "pkTeamB");
            return (Criteria) this;
        }

        public Criteria andPkTeamBNotBetween(String value1, String value2) {
            addCriterion("pk_team_b not between", value1, value2, "pkTeamB");
            return (Criteria) this;
        }

        public Criteria andDef1IsNull() {
            addCriterion("def1 is null");
            return (Criteria) this;
        }

        public Criteria andDef1IsNotNull() {
            addCriterion("def1 is not null");
            return (Criteria) this;
        }

        public Criteria andDef1EqualTo(String value) {
            addCriterion("def1 =", value, "def1");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef1EqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def1 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef1NotEqualTo(String value) {
            addCriterion("def1 <>", value, "def1");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef1NotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def1 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef1GreaterThan(String value) {
            addCriterion("def1 >", value, "def1");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef1GreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def1 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef1GreaterThanOrEqualTo(String value) {
            addCriterion("def1 >=", value, "def1");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef1GreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def1 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef1LessThan(String value) {
            addCriterion("def1 <", value, "def1");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef1LessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def1 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef1LessThanOrEqualTo(String value) {
            addCriterion("def1 <=", value, "def1");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef1LessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def1 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef1Like(String value) {
            addCriterion("def1 like", value, "def1");
            return (Criteria) this;
        }

        public Criteria andDef1NotLike(String value) {
            addCriterion("def1 not like", value, "def1");
            return (Criteria) this;
        }

        public Criteria andDef1In(List<String> values) {
            addCriterion("def1 in", values, "def1");
            return (Criteria) this;
        }

        public Criteria andDef1NotIn(List<String> values) {
            addCriterion("def1 not in", values, "def1");
            return (Criteria) this;
        }

        public Criteria andDef1Between(String value1, String value2) {
            addCriterion("def1 between", value1, value2, "def1");
            return (Criteria) this;
        }

        public Criteria andDef1NotBetween(String value1, String value2) {
            addCriterion("def1 not between", value1, value2, "def1");
            return (Criteria) this;
        }

        public Criteria andDef2IsNull() {
            addCriterion("def2 is null");
            return (Criteria) this;
        }

        public Criteria andDef2IsNotNull() {
            addCriterion("def2 is not null");
            return (Criteria) this;
        }

        public Criteria andDef2EqualTo(String value) {
            addCriterion("def2 =", value, "def2");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef2EqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def2 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef2NotEqualTo(String value) {
            addCriterion("def2 <>", value, "def2");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef2NotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def2 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef2GreaterThan(String value) {
            addCriterion("def2 >", value, "def2");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef2GreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def2 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef2GreaterThanOrEqualTo(String value) {
            addCriterion("def2 >=", value, "def2");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef2GreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def2 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef2LessThan(String value) {
            addCriterion("def2 <", value, "def2");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef2LessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def2 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef2LessThanOrEqualTo(String value) {
            addCriterion("def2 <=", value, "def2");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef2LessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def2 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef2Like(String value) {
            addCriterion("def2 like", value, "def2");
            return (Criteria) this;
        }

        public Criteria andDef2NotLike(String value) {
            addCriterion("def2 not like", value, "def2");
            return (Criteria) this;
        }

        public Criteria andDef2In(List<String> values) {
            addCriterion("def2 in", values, "def2");
            return (Criteria) this;
        }

        public Criteria andDef2NotIn(List<String> values) {
            addCriterion("def2 not in", values, "def2");
            return (Criteria) this;
        }

        public Criteria andDef2Between(String value1, String value2) {
            addCriterion("def2 between", value1, value2, "def2");
            return (Criteria) this;
        }

        public Criteria andDef2NotBetween(String value1, String value2) {
            addCriterion("def2 not between", value1, value2, "def2");
            return (Criteria) this;
        }

        public Criteria andDef3IsNull() {
            addCriterion("def3 is null");
            return (Criteria) this;
        }

        public Criteria andDef3IsNotNull() {
            addCriterion("def3 is not null");
            return (Criteria) this;
        }

        public Criteria andDef3EqualTo(String value) {
            addCriterion("def3 =", value, "def3");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef3EqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def3 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef3NotEqualTo(String value) {
            addCriterion("def3 <>", value, "def3");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef3NotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def3 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef3GreaterThan(String value) {
            addCriterion("def3 >", value, "def3");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef3GreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def3 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef3GreaterThanOrEqualTo(String value) {
            addCriterion("def3 >=", value, "def3");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef3GreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def3 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef3LessThan(String value) {
            addCriterion("def3 <", value, "def3");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef3LessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def3 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef3LessThanOrEqualTo(String value) {
            addCriterion("def3 <=", value, "def3");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef3LessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def3 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef3Like(String value) {
            addCriterion("def3 like", value, "def3");
            return (Criteria) this;
        }

        public Criteria andDef3NotLike(String value) {
            addCriterion("def3 not like", value, "def3");
            return (Criteria) this;
        }

        public Criteria andDef3In(List<String> values) {
            addCriterion("def3 in", values, "def3");
            return (Criteria) this;
        }

        public Criteria andDef3NotIn(List<String> values) {
            addCriterion("def3 not in", values, "def3");
            return (Criteria) this;
        }

        public Criteria andDef3Between(String value1, String value2) {
            addCriterion("def3 between", value1, value2, "def3");
            return (Criteria) this;
        }

        public Criteria andDef3NotBetween(String value1, String value2) {
            addCriterion("def3 not between", value1, value2, "def3");
            return (Criteria) this;
        }

        public Criteria andDef4IsNull() {
            addCriterion("def4 is null");
            return (Criteria) this;
        }

        public Criteria andDef4IsNotNull() {
            addCriterion("def4 is not null");
            return (Criteria) this;
        }

        public Criteria andDef4EqualTo(String value) {
            addCriterion("def4 =", value, "def4");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef4EqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def4 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef4NotEqualTo(String value) {
            addCriterion("def4 <>", value, "def4");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef4NotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def4 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef4GreaterThan(String value) {
            addCriterion("def4 >", value, "def4");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef4GreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def4 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef4GreaterThanOrEqualTo(String value) {
            addCriterion("def4 >=", value, "def4");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef4GreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def4 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef4LessThan(String value) {
            addCriterion("def4 <", value, "def4");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef4LessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def4 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef4LessThanOrEqualTo(String value) {
            addCriterion("def4 <=", value, "def4");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef4LessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def4 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef4Like(String value) {
            addCriterion("def4 like", value, "def4");
            return (Criteria) this;
        }

        public Criteria andDef4NotLike(String value) {
            addCriterion("def4 not like", value, "def4");
            return (Criteria) this;
        }

        public Criteria andDef4In(List<String> values) {
            addCriterion("def4 in", values, "def4");
            return (Criteria) this;
        }

        public Criteria andDef4NotIn(List<String> values) {
            addCriterion("def4 not in", values, "def4");
            return (Criteria) this;
        }

        public Criteria andDef4Between(String value1, String value2) {
            addCriterion("def4 between", value1, value2, "def4");
            return (Criteria) this;
        }

        public Criteria andDef4NotBetween(String value1, String value2) {
            addCriterion("def4 not between", value1, value2, "def4");
            return (Criteria) this;
        }

        public Criteria andDef5IsNull() {
            addCriterion("def5 is null");
            return (Criteria) this;
        }

        public Criteria andDef5IsNotNull() {
            addCriterion("def5 is not null");
            return (Criteria) this;
        }

        public Criteria andDef5EqualTo(String value) {
            addCriterion("def5 =", value, "def5");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef5EqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def5 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef5NotEqualTo(String value) {
            addCriterion("def5 <>", value, "def5");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef5NotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def5 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef5GreaterThan(String value) {
            addCriterion("def5 >", value, "def5");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef5GreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def5 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef5GreaterThanOrEqualTo(String value) {
            addCriterion("def5 >=", value, "def5");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef5GreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def5 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef5LessThan(String value) {
            addCriterion("def5 <", value, "def5");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef5LessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def5 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef5LessThanOrEqualTo(String value) {
            addCriterion("def5 <=", value, "def5");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDef5LessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("def5 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDef5Like(String value) {
            addCriterion("def5 like", value, "def5");
            return (Criteria) this;
        }

        public Criteria andDef5NotLike(String value) {
            addCriterion("def5 not like", value, "def5");
            return (Criteria) this;
        }

        public Criteria andDef5In(List<String> values) {
            addCriterion("def5 in", values, "def5");
            return (Criteria) this;
        }

        public Criteria andDef5NotIn(List<String> values) {
            addCriterion("def5 not in", values, "def5");
            return (Criteria) this;
        }

        public Criteria andDef5Between(String value1, String value2) {
            addCriterion("def5 between", value1, value2, "def5");
            return (Criteria) this;
        }

        public Criteria andDef5NotBetween(String value1, String value2) {
            addCriterion("def5 not between", value1, value2, "def5");
            return (Criteria) this;
        }

        public Criteria andDrIsNull() {
            addCriterion("dr is null");
            return (Criteria) this;
        }

        public Criteria andDrIsNotNull() {
            addCriterion("dr is not null");
            return (Criteria) this;
        }

        public Criteria andDrEqualTo(Integer value) {
            addCriterion("dr =", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("dr = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrNotEqualTo(Integer value) {
            addCriterion("dr <>", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("dr <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrGreaterThan(Integer value) {
            addCriterion("dr >", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("dr > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrGreaterThanOrEqualTo(Integer value) {
            addCriterion("dr >=", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("dr >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrLessThan(Integer value) {
            addCriterion("dr <", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("dr < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrLessThanOrEqualTo(Integer value) {
            addCriterion("dr <=", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("dr <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrIn(List<Integer> values) {
            addCriterion("dr in", values, "dr");
            return (Criteria) this;
        }

        public Criteria andDrNotIn(List<Integer> values) {
            addCriterion("dr not in", values, "dr");
            return (Criteria) this;
        }

        public Criteria andDrBetween(Integer value1, Integer value2) {
            addCriterion("dr between", value1, value2, "dr");
            return (Criteria) this;
        }

        public Criteria andDrNotBetween(Integer value1, Integer value2) {
            addCriterion("dr not between", value1, value2, "dr");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andMemoEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("memo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("memo <>", value, "memo");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andMemoNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("memo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andMemoGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("memo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("memo >=", value, "memo");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andMemoGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("memo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andMemoLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("memo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("memo <=", value, "memo");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andMemoLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("memo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("memo not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("memo in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("memo not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("memo between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("memo not between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andPkGroupIsNull() {
            addCriterion("pk_group is null");
            return (Criteria) this;
        }

        public Criteria andPkGroupIsNotNull() {
            addCriterion("pk_group is not null");
            return (Criteria) this;
        }

        public Criteria andPkGroupEqualTo(String value) {
            addCriterion("pk_group =", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_group = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupNotEqualTo(String value) {
            addCriterion("pk_group <>", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_group <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupGreaterThan(String value) {
            addCriterion("pk_group >", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_group > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupGreaterThanOrEqualTo(String value) {
            addCriterion("pk_group >=", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_group >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupLessThan(String value) {
            addCriterion("pk_group <", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_group < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupLessThanOrEqualTo(String value) {
            addCriterion("pk_group <=", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_group <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupLike(String value) {
            addCriterion("pk_group like", value, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupNotLike(String value) {
            addCriterion("pk_group not like", value, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupIn(List<String> values) {
            addCriterion("pk_group in", values, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupNotIn(List<String> values) {
            addCriterion("pk_group not in", values, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupBetween(String value1, String value2) {
            addCriterion("pk_group between", value1, value2, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupNotBetween(String value1, String value2) {
            addCriterion("pk_group not between", value1, value2, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkOrgIsNull() {
            addCriterion("pk_org is null");
            return (Criteria) this;
        }

        public Criteria andPkOrgIsNotNull() {
            addCriterion("pk_org is not null");
            return (Criteria) this;
        }

        public Criteria andPkOrgEqualTo(String value) {
            addCriterion("pk_org =", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgNotEqualTo(String value) {
            addCriterion("pk_org <>", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgGreaterThan(String value) {
            addCriterion("pk_org >", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgGreaterThanOrEqualTo(String value) {
            addCriterion("pk_org >=", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgLessThan(String value) {
            addCriterion("pk_org <", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgLessThanOrEqualTo(String value) {
            addCriterion("pk_org <=", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgLike(String value) {
            addCriterion("pk_org like", value, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgNotLike(String value) {
            addCriterion("pk_org not like", value, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgIn(List<String> values) {
            addCriterion("pk_org in", values, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgNotIn(List<String> values) {
            addCriterion("pk_org not in", values, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgBetween(String value1, String value2) {
            addCriterion("pk_org between", value1, value2, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgNotBetween(String value1, String value2) {
            addCriterion("pk_org not between", value1, value2, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgVIsNull() {
            addCriterion("pk_org_v is null");
            return (Criteria) this;
        }

        public Criteria andPkOrgVIsNotNull() {
            addCriterion("pk_org_v is not null");
            return (Criteria) this;
        }

        public Criteria andPkOrgVEqualTo(String value) {
            addCriterion("pk_org_v =", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org_v = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotEqualTo(String value) {
            addCriterion("pk_org_v <>", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org_v <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVGreaterThan(String value) {
            addCriterion("pk_org_v >", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org_v > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVGreaterThanOrEqualTo(String value) {
            addCriterion("pk_org_v >=", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org_v >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVLessThan(String value) {
            addCriterion("pk_org_v <", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org_v < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVLessThanOrEqualTo(String value) {
            addCriterion("pk_org_v <=", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_org_v <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVLike(String value) {
            addCriterion("pk_org_v like", value, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotLike(String value) {
            addCriterion("pk_org_v not like", value, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVIn(List<String> values) {
            addCriterion("pk_org_v in", values, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotIn(List<String> values) {
            addCriterion("pk_org_v not in", values, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVBetween(String value1, String value2) {
            addCriterion("pk_org_v between", value1, value2, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotBetween(String value1, String value2) {
            addCriterion("pk_org_v not between", value1, value2, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkPsnIsNull() {
            addCriterion("pk_psn is null");
            return (Criteria) this;
        }

        public Criteria andPkPsnIsNotNull() {
            addCriterion("pk_psn is not null");
            return (Criteria) this;
        }

        public Criteria andPkPsnEqualTo(String value) {
            addCriterion("pk_psn =", value, "pkPsn");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkPsnEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_psn = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkPsnNotEqualTo(String value) {
            addCriterion("pk_psn <>", value, "pkPsn");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkPsnNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_psn <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkPsnGreaterThan(String value) {
            addCriterion("pk_psn >", value, "pkPsn");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkPsnGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_psn > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkPsnGreaterThanOrEqualTo(String value) {
            addCriterion("pk_psn >=", value, "pkPsn");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkPsnGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_psn >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkPsnLessThan(String value) {
            addCriterion("pk_psn <", value, "pkPsn");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkPsnLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_psn < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkPsnLessThanOrEqualTo(String value) {
            addCriterion("pk_psn <=", value, "pkPsn");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkPsnLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_psn <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkPsnLike(String value) {
            addCriterion("pk_psn like", value, "pkPsn");
            return (Criteria) this;
        }

        public Criteria andPkPsnNotLike(String value) {
            addCriterion("pk_psn not like", value, "pkPsn");
            return (Criteria) this;
        }

        public Criteria andPkPsnIn(List<String> values) {
            addCriterion("pk_psn in", values, "pkPsn");
            return (Criteria) this;
        }

        public Criteria andPkPsnNotIn(List<String> values) {
            addCriterion("pk_psn not in", values, "pkPsn");
            return (Criteria) this;
        }

        public Criteria andPkPsnBetween(String value1, String value2) {
            addCriterion("pk_psn between", value1, value2, "pkPsn");
            return (Criteria) this;
        }

        public Criteria andPkPsnNotBetween(String value1, String value2) {
            addCriterion("pk_psn not between", value1, value2, "pkPsn");
            return (Criteria) this;
        }

        public Criteria andPkTeamIsNull() {
            addCriterion("pk_team is null");
            return (Criteria) this;
        }

        public Criteria andPkTeamIsNotNull() {
            addCriterion("pk_team is not null");
            return (Criteria) this;
        }

        public Criteria andPkTeamEqualTo(String value) {
            addCriterion("pk_team =", value, "pkTeam");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamNotEqualTo(String value) {
            addCriterion("pk_team <>", value, "pkTeam");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamGreaterThan(String value) {
            addCriterion("pk_team >", value, "pkTeam");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamGreaterThanOrEqualTo(String value) {
            addCriterion("pk_team >=", value, "pkTeam");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamLessThan(String value) {
            addCriterion("pk_team <", value, "pkTeam");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamLessThanOrEqualTo(String value) {
            addCriterion("pk_team <=", value, "pkTeam");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkTeamLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("pk_team <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkTeamLike(String value) {
            addCriterion("pk_team like", value, "pkTeam");
            return (Criteria) this;
        }

        public Criteria andPkTeamNotLike(String value) {
            addCriterion("pk_team not like", value, "pkTeam");
            return (Criteria) this;
        }

        public Criteria andPkTeamIn(List<String> values) {
            addCriterion("pk_team in", values, "pkTeam");
            return (Criteria) this;
        }

        public Criteria andPkTeamNotIn(List<String> values) {
            addCriterion("pk_team not in", values, "pkTeam");
            return (Criteria) this;
        }

        public Criteria andPkTeamBetween(String value1, String value2) {
            addCriterion("pk_team between", value1, value2, "pkTeam");
            return (Criteria) this;
        }

        public Criteria andPkTeamNotBetween(String value1, String value2) {
            addCriterion("pk_team not between", value1, value2, "pkTeam");
            return (Criteria) this;
        }

        public Criteria andRownoIsNull() {
            addCriterion("rowno is null");
            return (Criteria) this;
        }

        public Criteria andRownoIsNotNull() {
            addCriterion("rowno is not null");
            return (Criteria) this;
        }

        public Criteria andRownoEqualTo(String value) {
            addCriterion("rowno =", value, "rowno");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andRownoEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("rowno = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRownoNotEqualTo(String value) {
            addCriterion("rowno <>", value, "rowno");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andRownoNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("rowno <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRownoGreaterThan(String value) {
            addCriterion("rowno >", value, "rowno");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andRownoGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("rowno > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRownoGreaterThanOrEqualTo(String value) {
            addCriterion("rowno >=", value, "rowno");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andRownoGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("rowno >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRownoLessThan(String value) {
            addCriterion("rowno <", value, "rowno");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andRownoLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("rowno < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRownoLessThanOrEqualTo(String value) {
            addCriterion("rowno <=", value, "rowno");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andRownoLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("rowno <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRownoLike(String value) {
            addCriterion("rowno like", value, "rowno");
            return (Criteria) this;
        }

        public Criteria andRownoNotLike(String value) {
            addCriterion("rowno not like", value, "rowno");
            return (Criteria) this;
        }

        public Criteria andRownoIn(List<String> values) {
            addCriterion("rowno in", values, "rowno");
            return (Criteria) this;
        }

        public Criteria andRownoNotIn(List<String> values) {
            addCriterion("rowno not in", values, "rowno");
            return (Criteria) this;
        }

        public Criteria andRownoBetween(String value1, String value2) {
            addCriterion("rowno between", value1, value2, "rowno");
            return (Criteria) this;
        }

        public Criteria andRownoNotBetween(String value1, String value2) {
            addCriterion("rowno not between", value1, value2, "rowno");
            return (Criteria) this;
        }

        public Criteria andTsIsNull() {
            addCriterion("ts is null");
            return (Criteria) this;
        }

        public Criteria andTsIsNotNull() {
            addCriterion("ts is not null");
            return (Criteria) this;
        }

        public Criteria andTsEqualTo(LocalDateTime value) {
            addCriterion("ts =", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("ts = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsNotEqualTo(LocalDateTime value) {
            addCriterion("ts <>", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsNotEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("ts <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsGreaterThan(LocalDateTime value) {
            addCriterion("ts >", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsGreaterThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("ts > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("ts >=", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsGreaterThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("ts >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsLessThan(LocalDateTime value) {
            addCriterion("ts <", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsLessThanColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("ts < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("ts <=", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsLessThanOrEqualToColumn(EwmTeamB.Column column) {
            addCriterion(new StringBuilder("ts <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsIn(List<LocalDateTime> values) {
            addCriterion("ts in", values, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotIn(List<LocalDateTime> values) {
            addCriterion("ts not in", values, "ts");
            return (Criteria) this;
        }

        public Criteria andTsBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("ts between", value1, value2, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("ts not between", value1, value2, "ts");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private EwmTeamBExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        protected Criteria(EwmTeamBExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public EwmTeamBExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This interface was generated by MyBatis Generator.
         * This interface corresponds to the database table ewm_team_b
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table ewm_team_b
             *
             * @mbg.generated
             * @project https://github.com/itfsw/mybatis-generator-plugin
             */
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}